package com.cmcc.driver.ui.profile

import android.os.Bundle
import androidx.databinding.DataBindingUtil
import com.alibaba.android.arouter.facade.annotation.Route
import com.cmcc.driver.R
import com.cmcc.driver.config.DriverPath
import com.cmcc.driver.databinding.ActivityMsgdetailBinding
import com.cmcc.driver.ui.profile.viewModel.ProfileViewModel
import com.cmcc.driver.ui.base.BasicActivity

@Route(path = DriverPath.MSG_DETAIL)
class MsgDetailActivity : BasicActivity() {
    private lateinit var viewModel: ProfileViewModel
    private lateinit var binding: ActivityMsgdetailBinding




    /**
     * 初始化
     */
    override fun initialize(savedInstanceState: Bundle?) {
        binding = DataBindingUtil.setContentView(this, R.layout.activity_msgdetail)
        binding.appbar.title.text = getString(R.string.sys_msg_detail)
        binding.appbar.toolbar.setNavigationOnClickListener { finish() }
        val content = intent.getStringExtra("content")
        binding.tvContent.text = content


    }



}